package com.testing.class6;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @Classname LogTest
 * @Description 类型说明
 * @Date 2023/10/21 20:44
 * @Created by 特斯汀Roy
 */
public class LogTest {

    public static void main(String[] args) {
        Logger logger = LogManager.getLogger(LogTest.class);
        logger.fatal("这是致命错误");
        logger.error("报错了！");
        logger.warn("警告级别的错误");
        logger.info("消息提示级别");
        logger.debug("调试级别");
        logger.trace("追踪级别的信息");


    }
}
